package com.tanhua.management.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Author: sun
 * DateTime: 2021/4/26
 **/

/**
 * 用户登录信息表，主要用作登录验证;
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BasePojo {

    private Long id;
    private String mobile;      //手机号码
    @JsonIgnore
    private String password;    //密码，json序列化时忽略

}